using System;
using System.Collections.Generic;
using System.Text;
using SqlSugar;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// 特殊红冲流程发票明细表
    /// </summary>
    [SugarTable("RedRushManualInvoiceCostCenter")]
    public class RedRushManualInvoiceCostCenter : BaseHead
    {
        /// <summary>
        /// ParentId
        /// </summary>
        public Guid ParentId { get; set; }
        /// <summary>
        /// 科目
        /// </summary>
        public string Subject { get; set; }

        /// <summary>
        /// 科目Code
        /// </summary>
        public string SubjectCode { get; set; }

        /// <summary>
        /// 成本中心
        /// </summary>
        public string CostCenter { get; set; }

        /// <summary>
        /// 成本中心Code
        /// </summary>
        public string CostCenterCode { get; set; }

        /// <summary>
        /// 总金额
        /// </summary>
        public decimal? TotalAmount { get; set; }


        /// <summary>
        /// 外键关联发票表
        /// </summary>
        public Guid? RedRushManualInvoice_Id { get; set; }

        /// <summary>
        /// 外键关联申请表
        /// </summary>
        public Guid? RedRushApplication_Id { get; set; }

        /// <summary>
        /// 排序 越小越靠前
        /// </summary>
        public int Order { get; set; }

        /// <summary>
        /// 扩展字段1
        /// </summary>
        public string TXT1 { get; set; }

        /// <summary>
        /// 扩展字段2
        /// </summary>
        public string TXT2 { get; set; }
        /// <summary>
        /// 利润中心
        /// </summary>

        public string ProfitCenter { get; set; }

        /// <summary>
        /// 行号
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string GroupNo { get; set; }

        /// <summary>
        /// 开票方会计凭证
        /// </summary>
        public string CertificateNo { get; set; }

        /// <summary>
        /// 收票方会计凭证
        /// </summary>
        public string RecipientCertificateNo { get; set; }
    }
}
